import { provide, ref } from "vue";

export default function DragUploadEvent() {
  const dragUploadDialogVisible = ref(false);

  const changeDragUploadDialogVisible = () => {
    dragUploadDialogVisible.value = !dragUploadDialogVisible.value;
  };
  provide("changeDragUploadDialogVisible", changeDragUploadDialogVisible);
  return {
    dragUploadDialogVisible,
    changeDragUploadDialogVisible,
  };
}
